<?php
ini_set ('register_globals', '1');
ini_set ('display_errors', '1');

require_once('classes/Craigslist.php'); 
$craig = new Craigslist();
$craig_r = $craig->get_title_list();


echo $craig_r->json;

/*
echo '<pre>';
print_r(json_decode( $craig_r->json));
echo '</pre>';
*/

?>